package org.compiere.model;

import java.sql.ResultSet;
import java.util.List;
import java.util.Properties;

public class MFIClosePlanLine extends X_FI_ClosePlanLine 
{
	private static final long serialVersionUID = -2464059390096368442L;

	public MFIClosePlanLine(Properties ctx, ResultSet rs, String trxName) 
	{
		super(ctx, rs, trxName);
	}
	
	public MFIClosePlanLine (Properties ctx, int FI_ClosePlanLine_ID, String trxName)
    {
      super (ctx, FI_ClosePlanLine_ID, trxName);
    }

	public static List<MFIClosePlanLine> getOfFI_ClosePlan(Properties ctx, int FI_ClosePlan_ID, String trxName)
	{
		List<MFIClosePlanLine> list = new Query(ctx, I_FI_ClosePlanLine.Table_Name, "FI_ClosePlan_ID=?", trxName)
		.setParameters(FI_ClosePlan_ID)
		.setOnlyActiveRecords(true)
		.list();
		
		return list;
	}
}
